Skip to content

Conversation

@sungshik
Copy link
Contributor

@sungshik sungshik commented Feb 14, 2025

Before this PR, implicitly, the TortureTests relied on the BundlingTests to be run earlier, because:

  • The @BeforeAll of the BundlingTests configured Awaitility in a way that was also needed by the TortureTests (setting the default timeout long enough).
  • But, the TortureTests didn't have its own @BeforeAll to do this configuration.

In earlier CI runs, coincidentally, the BundlingTests were indeed run before the TortureTests, so it all went fine. In recent CI runs, though, the order was the other way around, causing them to inexplicably fail.

This PR adds a @BeforeAll to the TortureTests to make the CI runs predicable again. This PR also fixes a few warnings to improve the code quality of the tests.

@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.1%. Comparing base (0a8290d) to head (23990d9).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #17     +/-   ##
=========================================
- Coverage     78.8%   78.1%   -0.8%     
+ Complexity      85      84      -1     
=========================================
  Files           10      10             
  Lines          421     421             
  Branches        44      44             
=========================================
- Hits           332     329      -3     
- Misses          63      65      +2     
- Partials        26      27      +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sungshik sungshik marked this pull request as ready for review February 14, 2025 16:07
@sungshik sungshik requested a review from DavyLandman February 14, 2025 16:10
Copy link
Member

@DavyLandman DavyLandman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch, that's a painful one.

@DavyLandman DavyLandman merged commit b07727f into main Feb 14, 2025
15 checks passed
@sungshik sungshik deleted the fix-torture-tests-setup branch February 17, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants